Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor CLI structure to match the include/src split that our other projects have. #1573

Merged
merged 5 commits into from
Dec 17, 2024

Conversation

aatxe
Copy link
Collaborator

@aatxe aatxe commented Dec 17, 2024

This PR refactors the CLI folder to use the same project split between include and src directories that we have for all the other artifacts in luau. It also includes the require-by-string implementation we already have as a feature of Luau.CLI.lib. Both of these changes are targeted at making it easier for embedding projects to setup an effective equivalent to the standalone luau executable with whatever runtime libraries they need attached and without having to unnecessarily duplicate code from luau itself.

@aatxe aatxe requested a review from vegorov-rbx December 17, 2024 19:44
Copy link
Collaborator

@vegorov-rbx vegorov-rbx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't really understand the new sources setup, seems like CLI executable targets still pick and choose individual CLI.lib sources instead of relying on the library having all of them.

@aatxe aatxe merged commit 8f94786 into master Dec 17, 2024
7 checks passed
@aatxe aatxe deleted the luau-cli-lib branch December 17, 2024 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants